package com.ast;

public class WhileNode {
    CondNode cond;
    StmtNode stmt;
    public WhileNode(CondNode cond, StmtNode stmt) {
        this.cond = cond;
        this.stmt = stmt;
    }

    public CondNode getCond() {
        return cond;
    }

    public StmtNode getStmt() {
        return stmt;
    }
}
